package com.yanfan.sip.server;

import com.yanfan.sip.domain.SipDevice;
import com.yanfan.sip.model.VideoSessionInfo;

public interface ISipCmd {
    VideoSessionInfo playStreamCmd(SipDevice device, String channelId, boolean record);

    VideoSessionInfo playbackStreamCmd(SipDevice device, String channelId, String startTime, String endTime);

    VideoSessionInfo downloadStreamCmd(SipDevice device, String channelId, String startTime, String endTime, int downloadSpeed);

    void streamByeCmd(SipDevice device, String channelId, String stream, String ssrc);

    void streamByeCmd(String deviceId, String channelId, String stream, String ssrc);
}
